﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.BaseInformation;
using TyMES.Model;

namespace TyMES.ViewModel.BaseInformation.RouteVMs
{
    public partial class RouteTemplateVM : BaseTemplateVM
    {
        
        [Display(Name = "_Model._Route._RouteCode")]
        public ExcelPropety RouteCode_Excel = ExcelPropety.CreateProperty<Route>(x => x.RouteCode);
        [Display(Name = "_Model._Route._RouteName")]
        public ExcelPropety RouteName_Excel = ExcelPropety.CreateProperty<Route>(x => x.RouteName);
        [Display(Name = "_Model._Route._RouteVersion")]
        public ExcelPropety RouteVersion_Excel = ExcelPropety.CreateProperty<Route>(x => x.RouteVersion);
        [Display(Name = "_Model._Route._ProductCode")]
        public ExcelPropety ProductCode_Excel = ExcelPropety.CreateProperty<Route>(x => x.ProductCode);
        [Display(Name = "_Model._Route._Field2")]
        public ExcelPropety Field2_Excel = ExcelPropety.CreateProperty<Route>(x => x.Field2);
        [Display(Name = "_Model._Route._Field3")]
        public ExcelPropety Field3_Excel = ExcelPropety.CreateProperty<Route>(x => x.Field3);
        [Display(Name = "_Model._Route._Field4")]
        public ExcelPropety Field4_Excel = ExcelPropety.CreateProperty<Route>(x => x.Field4);
        [Display(Name = "_Model._Route._Field5")]
        public ExcelPropety Field5_Excel = ExcelPropety.CreateProperty<Route>(x => x.Field5);

	    protected override void InitVM()
        {
            
        }

    }

    public class RouteImportVM : BaseImportVM<RouteTemplateVM, Route>
    {
            //import

    }

}